.class Lcom/esfile/screen/recorder/videos/edit/g$c;
.super Ljava/lang/Object;
.source "VideoDeleteDialog.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/esfile/screen/recorder/videos/edit/g;->d()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Ljava/util/ArrayList;

.field final synthetic b:Lcom/esfile/screen/recorder/videos/edit/g;


# direct methods
.method constructor <init>(Lcom/esfile/screen/recorder/videos/edit/g;Ljava/util/ArrayList;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/g$c;->b:Lcom/esfile/screen/recorder/videos/edit/g;

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/g$c;->a:Ljava/util/ArrayList;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 5

    .line 1
    invoke-static {}, Les/c5;->a()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Les/v6;->a(Landroid/content/Context;)Les/v6;

    move-result-object v0

    invoke-virtual {v0}, Les/t6;->b()V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/g$c;->a:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v0

    const/4 v1, 0x0

    :cond_0
    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_2

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    .line 3
    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_0

    .line 4
    new-instance v3, Ljava/io/File;

    invoke-direct {v3, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 5
    invoke-virtual {v3}, Ljava/io/File;->exists()Z

    move-result v4

    if-eqz v4, :cond_1

    invoke-static {v3}, Lcom/esfile/screen/recorder/utils/i;->a(Ljava/io/File;)Z

    move-result v3

    if-eqz v3, :cond_0

    :cond_1
    const/4 v1, 0x1

    .line 6
    iget-object v3, p0, Lcom/esfile/screen/recorder/videos/edit/g$c;->b:Lcom/esfile/screen/recorder/videos/edit/g;

    invoke-static {v3, v2}, Lcom/esfile/screen/recorder/videos/edit/g;->a(Lcom/esfile/screen/recorder/videos/edit/g;Ljava/lang/String;)V

    .line 7
    invoke-static {v2}, Les/nb;->a(Ljava/lang/String;)J

    .line 8
    new-instance v3, Lcom/esfile/screen/recorder/videos/edit/g$c$a;

    invoke-direct {v3, p0, v2}, Lcom/esfile/screen/recorder/videos/edit/g$c$a;-><init>(Lcom/esfile/screen/recorder/videos/edit/g$c;Ljava/lang/String;)V

    invoke-static {v3}, Les/xc;->b(Ljava/lang/Runnable;)V

    goto :goto_0

    .line 9
    :cond_2
    invoke-static {}, Les/c5;->a()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Les/v6;->a(Landroid/content/Context;)Les/v6;

    move-result-object v0

    invoke-virtual {v0}, Les/t6;->c()V

    if-eqz v1, :cond_3

    .line 10
    new-instance v0, Lcom/esfile/screen/recorder/videos/edit/g$c$b;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/videos/edit/g$c$b;-><init>(Lcom/esfile/screen/recorder/videos/edit/g$c;)V

    invoke-static {v0}, Les/xc;->b(Ljava/lang/Runnable;)V

    goto :goto_1

    .line 11
    :cond_3
    new-instance v0, Lcom/esfile/screen/recorder/videos/edit/g$c$c;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/videos/edit/g$c$c;-><init>(Lcom/esfile/screen/recorder/videos/edit/g$c;)V

    invoke-static {v0}, Les/xc;->b(Ljava/lang/Runnable;)V

    :goto_1
    return-void
.end method
